package cn.com.iscs.sqlProject.entity;


import cn.com.iscs.sqlProject.base.BaseObject;

import java.util.Date;

/**
* @date 17-2-15 下午6:45
* @tableComment  业务类型与权限的关系表。【孙宸豪】
*/
public class AuBusinessRelation extends BaseObject {
    /**
    *业务类型与权限的关系UKID
    **/
    private Long roleBusinessUkid;

    /**
    *业务范围类型(我是谁的选项)RU_BUSINESS_FRAMEWORK
    **/
    private String businessScopeCode;

    /**
    *业务类型(建立业务框架的选择结果)RU_BUSINESS_FRAMEWORK
    **/
    private String businessType;

    /**
    *业务编码(建立业务框架的选择结果)RU_BUSINESS_FRAMEWORK
    **/
    private String businessCode;

    /**
    *任务标签UKID(cf_operation_unit.OPERATION_UNIT_UKID)
    **/
    private Long operationUkid;

    /**
    *创建时间
    **/
    private Date createTime;

    /**
    *创建人
    **/
    private Long createUserId;

    /**
    *更新时间
    **/
    private Date updateTime;

    /**
    *更新人
    **/
    private Long updateUserId;

    public Long getRoleBusinessUkid() {
        return roleBusinessUkid;
    }

    public void setRoleBusinessUkid(Long roleBusinessUkid) {
        this.roleBusinessUkid = roleBusinessUkid;
    }

    public String getBusinessScopeCode() {
        return businessScopeCode;
    }

    public void setBusinessScopeCode(String businessScopeCode) {
        this.businessScopeCode = businessScopeCode == null ? null : businessScopeCode.trim();
    }

    public String getBusinessType() {
        return businessType;
    }

    public void setBusinessType(String businessType) {
        this.businessType = businessType == null ? null : businessType.trim();
    }

    public String getBusinessCode() {
        return businessCode;
    }

    public void setBusinessCode(String businessCode) {
        this.businessCode = businessCode == null ? null : businessCode.trim();
    }

    public Long getOperationUkid() {
        return operationUkid;
    }

    public void setOperationUkid(Long operationUkid) {
        this.operationUkid = operationUkid;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(Long createUserId) {
        this.createUserId = createUserId;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Long getUpdateUserId() {
        return updateUserId;
    }

    public void setUpdateUserId(Long updateUserId) {
        this.updateUserId = updateUserId;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", roleBusinessUkid=").append(roleBusinessUkid);
        sb.append(", businessScopeCode=").append(businessScopeCode);
        sb.append(", businessType=").append(businessType);
        sb.append(", businessCode=").append(businessCode);
        sb.append(", operationUkid=").append(operationUkid);
        sb.append(", createTime=").append(createTime);
        sb.append(", createUserId=").append(createUserId);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", updateUserId=").append(updateUserId);
        sb.append("]");
        return sb.toString();
    }
}